import request from "@/utils/request";

export function exportRequest(filename) {
    return request({
        url: '/admin/export-student-score?filename=' + filename,
        method: 'get',
    })
}

export function downloadRequest(filename) {
    return request({
        url: '/admin/download?filename=' + filename,
        method: 'get',
        responseType: 'blob' // 获取二进制响应数据
    })
}

